<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>
      
    线程编程指导 - Arisu
    
    </title>
    <link rel="shortcut icon" href="https://ushio.oss-cn-shanghai.aliyuncs.com/Arisu/Arisu_Icon.png" type="image/png" />

    
    
    <link href="atom.xml" rel="alternate" title="Arisu" type="application/atom+xml">
    <link rel="stylesheet" href="asset/css/style.min.css">
    <link rel="stylesheet" href="asset/css/doc.css">
    <script src="asset/app.js"></script>
</head>
  <body>
    <section class="hero">
      <div class="hero-head">
          <nav class="navbar" role="navigation" aria-label="main navigation">
              <div class="container">
              <div class="navbar-brand">
                
                <a target="_self" class="navbar-item " href="index.html">主页</a>
                
                <a target="_self" class="navbar-item " href="Apple.html">Apple</a>
                

                <a role="button" id="navbarSNSRssSwitchBtn" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarSNSRssButtons">
                  <span aria-hidden="true"></span>
                  <span aria-hidden="true"></span>
                  <span aria-hidden="true"></span>
                </a>
              </div>
            
              <div id="navbarSNSRssButtons" class="navbar-menu">
                <div class="navbar-start">
                  
                </div>
            
                <div class="navbar-end">
                  <div class="navbar-item">
                    <!--buttons start-->
                    <div class="buttons">
                      
                        
                        
                        
                        
                      
                      <a href="atom.xml" target="_blank" title="RSS">
                          <span class="icon is-large has-text-black-bis">
                              <svg class="svg-inline--fa fa-rss fa-w-14 fa-lg" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg><!-- <i class="fas fa-rss fa-lg"></i> -->
                          </span>
                      </a>
                    </div>
                    <!--buttons end-->

                  </div>
                </div>
                </div>
              </div>
            </nav>
      </div>

 
<div class="hero-body ct-body">
        <div class="container">
              <div class="columns is-centered">
                  <div class="column  is-four-fifths">
                      <div class="columns is-mobile">
                          <div class="column">
                              <h1 class="title">
Arisu
              
                              </h1>
                              <h2 class="subtitle">
                                 欢迎来到我的网站！
                              </h2>
                          </div>
                          <div class="column is-narrow"><figure class="image is-128x128">
                            
                              <img class="is-rounded" src="https://ushio.oss-cn-shanghai.aliyuncs.com/Arisu/Arisu_Icon.png">
                            
                            </figure></div>
                      </div>
                        
                      
                  </div>
                  
                </div>
            
              
        
        </div>
      </div>
</section>
<section class="ct-body">
      <div class="container">
          <div class="columns is-variable bd-klmn-columns is-4">
              <div class="column is-two-thirds">
                
                  <div class="card">
                    
                      <div class="card-content">
                        <div class="content">
                          <a href="%E5%90%8C%E6%AD%A5.html"> 
                            <h2 class="title">线程编程指导 第四章</h2>
                          </a>        
                          
                          <p>应用程序中存在多个线程会导致从多个执行线程安全访问资源的潜在问题。修改相同资源的两个线程可能会以非预期的方式相互干扰。例如，一个线程可能会覆盖另一个线程的更改，或者将应用程序置于未知且可能无效的状态。如果幸运的话，损坏的资源可能会导致明显的性能问题或崩溃，相对容易追踪和修复。但是，如果您运气不好，则损坏可能会导致细微错误，这些错误直到很久之后才会显现，或者错误可能需要对您的基础编码假设进行重大改进。</p>
                                                    
                          <p> 
                            <a href="%E5%90%8C%E6%AD%A5.html"><span class="tran-readmore">Read more...</span></a>&nbsp;&nbsp; 
                            <span class="date">2020/02/25</span>
                            <span class="tran-posted-in">posted in</span>&nbsp; 
                            
                                <span class="posted-in"><a href='Apple%20Developer%20Documentation.html'>Apple Developer Documentation</a></span>
                            
                                <span class="posted-in"><a href='%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B%E6%8C%87%E5%AF%BC.html'>线程编程指导</a></span>
                                                      
                          </p>
                        </div>
                      </div>
                    </div>
                  
                  <div class="card">
                    
                      <div class="card-content">
                        <div class="content">
                          <a href="%E8%BF%90%E8%A1%8C%E5%BE%AA%E7%8E%AF.html"> 
                            <h2 class="title">线程编程指导 第三章</h2>
                          </a>        
                          
                          <p>运行循环是与线程相关的基础架构的一部分。运行循环是一个事件处理循环，用于计划工作并协调传入事件的接收。运行循环的目的是在有工作时保持线程忙，并在没有线程时让线程进入休眠状态。</p>
                                                    
                          <p> 
                            <a href="%E8%BF%90%E8%A1%8C%E5%BE%AA%E7%8E%AF.html"><span class="tran-readmore">Read more...</span></a>&nbsp;&nbsp; 
                            <span class="date">2020/02/25</span>
                            <span class="tran-posted-in">posted in</span>&nbsp; 
                            
                                <span class="posted-in"><a href='Apple%20Developer%20Documentation.html'>Apple Developer Documentation</a></span>
                            
                                <span class="posted-in"><a href='%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B%E6%8C%87%E5%AF%BC.html'>线程编程指导</a></span>
                                                      
                          </p>
                        </div>
                      </div>
                    </div>
                  
                  <div class="card">
                    
                      <div class="card-content">
                        <div class="content">
                          <a href="%E7%BA%BF%E7%A8%8B%E5%AE%89%E5%85%A8%E6%91%98%E8%A6%81.html"> 
                            <h2 class="title">线程编程指导 附录 A</h2>
                          </a>        
                          
                          <p>本附录描述了 OS X 和 iOS 中某些关键框架的高级线程安全性。本附录中的信息可能会有所变化。</p>
                                                    
                          <p> 
                            <a href="%E7%BA%BF%E7%A8%8B%E5%AE%89%E5%85%A8%E6%91%98%E8%A6%81.html"><span class="tran-readmore">Read more...</span></a>&nbsp;&nbsp; 
                            <span class="date">2020/02/25</span>
                            <span class="tran-posted-in">posted in</span>&nbsp; 
                            
                                <span class="posted-in"><a href='Apple%20Developer%20Documentation.html'>Apple Developer Documentation</a></span>
                            
                                <span class="posted-in"><a href='%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B%E6%8C%87%E5%AF%BC.html'>线程编程指导</a></span>
                                                      
                          </p>
                        </div>
                      </div>
                    </div>
                  
                  <div class="card">
                    
                      <div class="card-content">
                        <div class="content">
                          <a href="%E7%BA%BF%E7%A8%8B%E7%AE%A1%E7%90%86.html"> 
                            <h2 class="title">线程编程指导 第二章</h2>
                          </a>        
                          
                          <p>OS X 或 iOS 中的每个进程（应用程序）都由一个或多个线程组成，每个线程代表通过应用程序代码执行的单个路径。每个应用程序都以一个线程开始，该线程运行应用程序的主要功能。应用程序可以生成其他线程，每个线程都执行特定函数的代码。</p>
                                                    
                          <p> 
                            <a href="%E7%BA%BF%E7%A8%8B%E7%AE%A1%E7%90%86.html"><span class="tran-readmore">Read more...</span></a>&nbsp;&nbsp; 
                            <span class="date">2020/02/25</span>
                            <span class="tran-posted-in">posted in</span>&nbsp; 
                            
                                <span class="posted-in"><a href='Apple%20Developer%20Documentation.html'>Apple Developer Documentation</a></span>
                            
                                <span class="posted-in"><a href='%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B%E6%8C%87%E5%AF%BC.html'>线程编程指导</a></span>
                                                      
                          </p>
                        </div>
                      </div>
                    </div>
                  
                  <div class="card">
                    
                      <div class="card-content">
                        <div class="content">
                          <a href="%E5%85%B3%E4%BA%8E%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B.html"> 
                            <h2 class="title">线程编程指导 第一章</h2>
                          </a>        
                          
                          <p>多年来，最大的计算机性能主要受到计算机核心单个微处理器速度的限制。然而，随着各个处理器的速度开始达到其实际限制，芯片制造商转而采用多核设计，使计算机有机会同时执行多项任务。虽然 OS X 可以利用这些核心来执行与系统相关的任务，但您自己的应用程序也可以通过线程利用它们。</p>
                                                    
                          <p> 
                            <a href="%E5%85%B3%E4%BA%8E%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B.html"><span class="tran-readmore">Read more...</span></a>&nbsp;&nbsp; 
                            <span class="date">2020/02/25</span>
                            <span class="tran-posted-in">posted in</span>&nbsp; 
                            
                                <span class="posted-in"><a href='Apple%20Developer%20Documentation.html'>Apple Developer Documentation</a></span>
                            
                                <span class="posted-in"><a href='%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B%E6%8C%87%E5%AF%BC.html'>线程编程指导</a></span>
                                                      
                          </p>
                        </div>
                      </div>
                    </div>
                  

                  <nav class="pagination is-centered" role="navigation" aria-label="pagination">
                    <a class="pagination-previous"  disabled="disabled" ><span class="tran-prev-page">&laquo; Prev Page</span></a>  
                    <a class="pagination-next"  disabled="disabled" ><span class="tran-next-page">Next Page &raquo;</span></a>                   
                  </nav>

              </div><!-- end column -->
              <div class="column">
                  <div class="card">
                      <header class="card-header">
                        <p class="card-header-title">
                           <span class="tran-site-categories">Categories</span> 
                        </p>
                     
                      </header>
                      <div class="card-content site-categories">
                        <div class="content"> 
                          <ul>
                          
                                <li><a href="Apple%20Developer%20Documentation.html">Apple Developer Documentation</a>
                                   <ul> 
                                  
                                        <li><a href="%E7%BA%BF%E7%A8%8B%E7%BC%96%E7%A8%8B%E6%8C%87%E5%AF%BC.html">线程编程指导</a></li>
                                  
                                        <li><a href="Cocoa%20%E7%BB%98%E5%9B%BE%E6%8C%87%E5%AF%BC.html">Cocoa 绘图指导</a></li>
                                  
                                   </ul> 
                                </li> 
                          
                          </ul>
                        </div>
                      </div>
                     
                    </div>

                    <div class="card">
                        <header class="card-header">
                          <p class="card-header-title">
                              <span class="tran-site-tags">Tags</span> 
                          </p>
                       
                        </header>
                        <div class="card-content site-tags">
                          <div class="content">
                           <div class="tags">
                            
                              <a class="tag is-link is-light" href="tag_Arisu.html">#Arisu</a> 
                            
                              <a class="tag is-link is-light" href="tag_%E6%8A%80%E6%9C%AF%E6%96%87%E6%A1%A3.html">#技术文档</a> 
                            
                           </div>
                             
                          </div>
                        </div>
                       
                      </div>

              </div>
            </div>

          
      </div>
    </section>

    <footer class="footer">
        <div class="content has-text-centered">
          <p>
              Copyright &copy; 2019
              Powered by <a target="_blank" href="http://www.mweb.im">MWeb</a>,&nbsp; 
              Theme used <a target="_blank" href="https://bulma.io/">Bulma CSS</a>.
          </p>
        </div>
      </footer>



  















  
    




  </body>
</html>
